package com.xc.content.convert;

import com.xc.content.bo.CourseBaseBO;
import com.xc.content.entity.CourseBase;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: MangoPie
 * @CreateTime: 2024-12-31
 * @Version: 1.0
 */
@Mapper
public interface CourseBaseServiceConverter {
    CourseBaseServiceConverter INSTANCE = Mappers.getMapper(CourseBaseServiceConverter.class);

    CourseBase courseBaseBoToEntity(CourseBaseBO courseBaseBO);
    List<CourseBaseBO> courseBaseListToBOList(List<CourseBase> courseBaseList);
}
